package com.experienceBaby.Cashbook.bean;

import java.util.List;

/**
 * 图表fragment里该年/月的所有数据
 */
public class Ranking {

    /**
     * 该表的总消费
     */
    private double lotalCost;

    /**
     * 平均年/月的消费
     */
    private double avgCost;

    /**
     * 在年的表中，是每个月的消费
     * 在月的表中，是每天的消费
     */
    private List<Double> Costs;

    /**
     * ListView中每行的数据
     */
    private List<RankingList> datas;

    public Ranking() {

    }

    public Ranking(double lotalCost, double avgCost, List<Double> costs, List<RankingList> datas) {
        this.lotalCost = lotalCost;
        this.avgCost = avgCost;
        Costs = costs;
        this.datas = datas;
    }

    public double getLotalCost() {
        return lotalCost;
    }

    public void setLotalCost(double lotalCost) {
        this.lotalCost = lotalCost;
    }

    public double getAvgCost() {
        return avgCost;
    }

    public void setAvgCost(double avgCost) {
        this.avgCost = avgCost;
    }

    public List<Double> getCosts() {
        return Costs;
    }

    public void setCosts(List<Double> costs) {
        Costs = costs;
    }

    public List<RankingList> getDatas() {
        return datas;
    }

    public void setDatas(List<RankingList> datas) {
        this.datas = datas;
    }
}
